package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工资查看对象 ckgz
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class Ckgz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 本人员工号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 薪资 */
    @Excel(name = "薪资")
    private String salary;

    /** 银行卡 */
    @Excel(name = "银行卡")
    private String card;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 发布部门 */
    @Excel(name = "发布部门")
    private String deport;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setDeport(String deport) 
    {
        this.deport = deport;
    }

    public String getDeport() 
    {
        return deport;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("salary", getSalary())
            .append("card", getCard())
            .append("time", getTime())
            .append("deport", getDeport())
            .toString();
    }
}
